#ifndef _TRADE_SECRET_KEY_H_
#define _TRADE_SECRET_KEY_H_

//#include "stock_osver.h"

#if __cplusplus
extern "C"
{
#endif

typedef unsigned char byte;
typedef unsigned char bits;

union DISPLAY
{
	struct
	{
		byte v;
	} B;
	struct
	{
		bits b0	:1;
		bits b1	:1;
		bits b2	:1;
		bits b3	:1;
		bits b4	:1;
		bits b5	:1;
		bits b6	:1;
		bits b7	:1;
	} b;
};

int rsa_BufferZyjm(char* pcBuf, long lLength, char* pcSecret);
int rsa_BufferDzyjm(char* pcBuf, long lLength, char* pcSecret);

int rsa_NewBufferZyjm(char* pcBuf, long lLength, char* pcSecret);
int rsa_NewBufferDzyjm(char* pcBuf, long lLength, char* pcSecret);
void rsa_NewGetjmKey(char pcSecret[]) ; 
void rsa_NewGetjmKey1(char pcSecret[],char randData[]);

#if __cplusplus	
}
#endif

#endif	//_TRADE_SECRET_KEY_H_
